Optimal. Leaf size=169 \[ -\frac {2237 \left (3 x^2+5 x+2\right )^{3/2}}{3750 (2 x+3)^3}-\frac {3113 \left (3 x^2+5 x+2\right )^{3/2}}{5000 (2 x+3)^4}-\frac {73 \left (3 x^2+5 x+2\right )^{3/2}}{125 (2 x+3)^5}-\frac {13 \left (3 x^2+5 x+2\right )^{3/2}}{30 (2 x+3)^6}+\frac {26453 (8 x+7) \sqrt {3 x^2+5 x+2}}{200000 (2 x+3)^2}-\frac {26453 \tanh ^{-1}\left (\frac {8 x+7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right )}{400000 \sqrt {5}} \]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 169, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 5, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.185, Rules used = {834, 806, 720, 724, 206} \begin {gather*} -\frac {2237 \left (3 x^2+5 x+2\right )^{3/2}}{3750 (2 x+3)^3}-\frac {3113 \left (3 x^2+5 x+2\right )^{3/2}}{5000 (2 x+3)^4}-\frac {73 \left (3 x^2+5 x+2\right )^{3/2}}{125 (2 x+3)^5}-\frac {13 \left (3 x^2+5 x+2\right )^{3/2}}{30 (2 x+3)^6}+\frac {26453 (8 x+7) \sqrt {3 x^2+5 x+2}}{200000 (2 x+3)^2}-\frac {26453 \tanh ^{-1}\left (\frac {8 x+7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right )}{400000 \sqrt {5}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 720
Rule 724
Rule 806
Rule 834
Rubi steps
\begin {align*} \int \frac {(5-x) \sqrt {2+5 x+3 x^2}}{(3+2 x)^7} \, dx &=-\frac {13 \left (2+5 x+3 x^2\right )^{3/2}}{30 (3+2 x)^6}-\frac {1}{30} \int \frac {\left (-\frac {87}{2}+117 x\right ) \sqrt {2+5 x+3 x^2}}{(3+2 x)^6} \, dx\\ &=-\frac {13 \left (2+5 x+3 x^2\right )^{3/2}}{30 (3+2 x)^6}-\frac {73 \left (2+5 x+3 x^2\right )^{3/2}}{125 (3+2 x)^5}+\frac {1}{750} \int \frac {\left (\frac {1455}{2}-2628 x\right ) \sqrt {2+5 x+3 x^2}}{(3+2 x)^5} \, dx\\ &=-\frac {13 \left (2+5 x+3 x^2\right )^{3/2}}{30 (3+2 x)^6}-\frac {73 \left (2+5 x+3 x^2\right )^{3/2}}{125 (3+2 x)^5}-\frac {3113 \left (2+5 x+3 x^2\right )^{3/2}}{5000 (3+2 x)^4}-\frac {\int \frac {\left (-\frac {50169}{2}+28017 x\right ) \sqrt {2+5 x+3 x^2}}{(3+2 x)^4} \, dx}{15000}\\ &=-\frac {13 \left (2+5 x+3 x^2\right )^{3/2}}{30 (3+2 x)^6}-\frac {73 \left (2+5 x+3 x^2\right )^{3/2}}{125 (3+2 x)^5}-\frac {3113 \left (2+5 x+3 x^2\right )^{3/2}}{5000 (3+2 x)^4}-\frac {2237 \left (2+5 x+3 x^2\right )^{3/2}}{3750 (3+2 x)^3}+\frac {26453 \int \frac {\sqrt {2+5 x+3 x^2}}{(3+2 x)^3} \, dx}{10000}\\ &=\frac {26453 (7+8 x) \sqrt {2+5 x+3 x^2}}{200000 (3+2 x)^2}-\frac {13 \left (2+5 x+3 x^2\right )^{3/2}}{30 (3+2 x)^6}-\frac {73 \left (2+5 x+3 x^2\right )^{3/2}}{125 (3+2 x)^5}-\frac {3113 \left (2+5 x+3 x^2\right )^{3/2}}{5000 (3+2 x)^4}-\frac {2237 \left (2+5 x+3 x^2\right )^{3/2}}{3750 (3+2 x)^3}-\frac {26453 \int \frac {1}{(3+2 x) \sqrt {2+5 x+3 x^2}} \, dx}{400000}\\ &=\frac {26453 (7+8 x) \sqrt {2+5 x+3 x^2}}{200000 (3+2 x)^2}-\frac {13 \left (2+5 x+3 x^2\right )^{3/2}}{30 (3+2 x)^6}-\frac {73 \left (2+5 x+3 x^2\right )^{3/2}}{125 (3+2 x)^5}-\frac {3113 \left (2+5 x+3 x^2\right )^{3/2}}{5000 (3+2 x)^4}-\frac {2237 \left (2+5 x+3 x^2\right )^{3/2}}{3750 (3+2 x)^3}+\frac {26453 \operatorname {Subst}\left (\int \frac {1}{20-x^2} \, dx,x,\frac {-7-8 x}{\sqrt {2+5 x+3 x^2}}\right )}{200000}\\ &=\frac {26453 (7+8 x) \sqrt {2+5 x+3 x^2}}{200000 (3+2 x)^2}-\frac {13 \left (2+5 x+3 x^2\right )^{3/2}}{30 (3+2 x)^6}-\frac {73 \left (2+5 x+3 x^2\right )^{3/2}}{125 (3+2 x)^5}-\frac {3113 \left (2+5 x+3 x^2\right )^{3/2}}{5000 (3+2 x)^4}-\frac {2237 \left (2+5 x+3 x^2\right )^{3/2}}{3750 (3+2 x)^3}-\frac {26453 \tanh ^{-1}\left (\frac {7+8 x}{2 \sqrt {5} \sqrt {2+5 x+3 x^2}}\right )}{400000 \sqrt {5}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.09, size = 169, normalized size = 1.00 \begin {gather*} \frac {1}{750} \left (-\frac {2237 \left (3 x^2+5 x+2\right )^{3/2}}{5 (2 x+3)^3}-\frac {9339 \left (3 x^2+5 x+2\right )^{3/2}}{20 (2 x+3)^4}-\frac {438 \left (3 x^2+5 x+2\right )^{3/2}}{(2 x+3)^5}-\frac {325 \left (3 x^2+5 x+2\right )^{3/2}}{(2 x+3)^6}+\frac {79359 \left (\frac {10 \sqrt {3 x^2+5 x+2} (8 x+7)}{(2 x+3)^2}+\sqrt {5} \tanh ^{-1}\left (\frac {-8 x-7}{2 \sqrt {5} \sqrt {3 x^2+5 x+2}}\right )\right )}{8000}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.65, size = 86, normalized size = 0.51 \begin {gather*} \frac {\sqrt {3 x^2+5 x+2} \left (1567872 x^5+12381040 x^4+39304480 x^3+62797200 x^2+50707640 x+16322393\right )}{600000 (2 x+3)^6}-\frac {26453 \tanh ^{-1}\left (\frac {\sqrt {3 x^2+5 x+2}}{\sqrt {5} (x+1)}\right )}{200000 \sqrt {5}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.41, size = 156, normalized size = 0.92 \begin {gather*} \frac {79359 \, \sqrt {5} {\left (64 \, x^{6} + 576 \, x^{5} + 2160 \, x^{4} + 4320 \, x^{3} + 4860 \, x^{2} + 2916 \, x + 729\right )} \log \left (-\frac {4 \, \sqrt {5} \sqrt {3 \, x^{2} + 5 \, x + 2} {\left (8 \, x + 7\right )} - 124 \, x^{2} - 212 \, x - 89}{4 \, x^{2} + 12 \, x + 9}\right ) + 20 \, {\left (1567872 \, x^{5} + 12381040 \, x^{4} + 39304480 \, x^{3} + 62797200 \, x^{2} + 50707640 \, x + 16322393\right )} \sqrt {3 \, x^{2} + 5 \, x + 2}}{12000000 \, {\left (64 \, x^{6} + 576 \, x^{5} + 2160 \, x^{4} + 4320 \, x^{3} + 4860 \, x^{2} + 2916 \, x + 729\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 0.34, size = 410, normalized size = 2.43 \begin {gather*} -\frac {26453}{2000000} \, \sqrt {5} \log \left (\frac {{\left | -4 \, \sqrt {3} x - 2 \, \sqrt {5} - 6 \, \sqrt {3} + 4 \, \sqrt {3 \, x^{2} + 5 \, x + 2} \right |}}{{\left | -4 \, \sqrt {3} x + 2 \, \sqrt {5} - 6 \, \sqrt {3} + 4 \, \sqrt {3 \, x^{2} + 5 \, x + 2} \right |}}\right ) + \frac {2539488 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{11} + 41901552 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{10} + 924796880 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{9} + 3988893600 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{8} + 33933192480 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{7} + 66530947296 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{6} + 275158218192 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{5} + 265623867480 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{4} + 526452161650 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{3} + 226453420305 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{2} + 171288605499 \, \sqrt {3} x + 19197814536 \, \sqrt {3} - 171288605499 \, \sqrt {3 \, x^{2} + 5 \, x + 2}}{600000 \, {\left (2 \, {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )}^{2} + 6 \, \sqrt {3} {\left (\sqrt {3} x - \sqrt {3 \, x^{2} + 5 \, x + 2}\right )} + 11\right )}^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 195, normalized size = 1.15 \begin {gather*} \frac {26453 \sqrt {5}\, \arctanh \left (\frac {2 \left (-4 x -\frac {7}{2}\right ) \sqrt {5}}{5 \sqrt {-16 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}\right )}{2000000}-\frac {73 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{4000 \left (x +\frac {3}{2}\right )^{5}}-\frac {3113 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{80000 \left (x +\frac {3}{2}\right )^{4}}-\frac {2237 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{30000 \left (x +\frac {3}{2}\right )^{3}}-\frac {26453 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{200000 \left (x +\frac {3}{2}\right )^{2}}-\frac {26453 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{125000 \left (x +\frac {3}{2}\right )}-\frac {26453 \sqrt {-16 x +12 \left (x +\frac {3}{2}\right )^{2}-19}}{2000000}+\frac {26453 \left (6 x +5\right ) \sqrt {-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}}}{250000}-\frac {13 \left (-4 x +3 \left (x +\frac {3}{2}\right )^{2}-\frac {19}{4}\right )^{\frac {3}{2}}}{1920 \left (x +\frac {3}{2}\right )^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.29, size = 258, normalized size = 1.53 \begin {gather*} \frac {26453}{2000000} \, \sqrt {5} \log \left (\frac {\sqrt {5} \sqrt {3 \, x^{2} + 5 \, x + 2}}{{\left | 2 \, x + 3 \right |}} + \frac {5}{2 \, {\left | 2 \, x + 3 \right |}} - 2\right ) + \frac {79359}{200000} \, \sqrt {3 \, x^{2} + 5 \, x + 2} - \frac {13 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}}}{30 \, {\left (64 \, x^{6} + 576 \, x^{5} + 2160 \, x^{4} + 4320 \, x^{3} + 4860 \, x^{2} + 2916 \, x + 729\right )}} - \frac {73 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}}}{125 \, {\left (32 \, x^{5} + 240 \, x^{4} + 720 \, x^{3} + 1080 \, x^{2} + 810 \, x + 243\right )}} - \frac {3113 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}}}{5000 \, {\left (16 \, x^{4} + 96 \, x^{3} + 216 \, x^{2} + 216 \, x + 81\right )}} - \frac {2237 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}}}{3750 \, {\left (8 \, x^{3} + 36 \, x^{2} + 54 \, x + 27\right )}} - \frac {26453 \, {\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac {3}{2}}}{50000 \, {\left (4 \, x^{2} + 12 \, x + 9\right )}} - \frac {26453 \, \sqrt {3 \, x^{2} + 5 \, x + 2}}{50000 \, {\left (2 \, x + 3\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} -\int \frac {\left (x-5\right )\,\sqrt {3\,x^2+5\,x+2}}{{\left (2\,x+3\right )}^7} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \left (- \frac {5 \sqrt {3 x^{2} + 5 x + 2}}{128 x^{7} + 1344 x^{6} + 6048 x^{5} + 15120 x^{4} + 22680 x^{3} + 20412 x^{2} + 10206 x + 2187}\right )\, dx - \int \frac {x \sqrt {3 x^{2} + 5 x + 2}}{128 x^{7} + 1344 x^{6} + 6048 x^{5} + 15120 x^{4} + 22680 x^{3} + 20412 x^{2} + 10206 x + 2187}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________